<template>
  <section>
    <div v-if="type==='A'">A</div>
    <div v-else-if="type==='B'">B</div>
    <div v-else-if="type==='C'">C</div>
    <div v-else>不是ABC</div>
  </section>
</template>

<script>
export default {
  name: "Velseif",
  data() {
    return {
      type: "B"
    };
  }
};
</script>